Add an attachment to a request
URL
https://sdpondemand.manageengine.com/api/json/request/REQUEST_ID/attach
Method
HTTP POST
API description
Allows a technician to upload and associate an attachment to a request in the ServiceDesk Plus On-Demand application
Parameters to be passed
authtoken, scope, OPERATION_NAME (value is ADD_ATTACHMENT)
Use multi-part post and give the parameter name as "filename" while writing the contents of the file.
Sample Response:
{
"operation":{
"name":"ADD_ATTACHMENT",
"result":{
"status":"Success",
"message":"Attachment added successfully"
}
}
}